Two-page Book Embedding and Clustered Graph Planarity
نویسندگان
چکیده
A 2-page book embedding of a graph places the vertices linearly on a spine (a line segment) and the edges on two pages (two half planes sharing the spine) so that each edge is embedded in one of the pages without edge crossings. Testing whether a given graph admits a 2-page book embedding is known to be NP-complete. In this paper, we study the problem of testing whether a given graph admits a 2-page book embedding with a fixed edge partition. Based on structural properties of planar graphs, we prove that the problem of testing and finding a 2-page book embedding of a graph with a partitioned edge set can be solved in linear time. As an application of our main result, we consider the problem of testing planarity of clustered graphs. The complexity of testing clustered graph planarity is a long standing open problem in Graph Drawing. Recently, polynomial time algorithms have been found for several classes of clustered graphs in which both the structure of the underlying graphs and clustering structure are restricted. However, when the underlying graph is disconnected, the problem remains open. Our book embedding results imply that the clustered planarity problem can be solved in linear time for a certain class of clustered graphs with arbitrary underlying graphs (i.e. possibly disconnected).
منابع مشابه
Implementing a Partitioned 2-Page Book Embedding Testing Algorithm
In a book embedding the vertices of a graph are placed on the “spine” of a “book” and the edges are assigned to “pages” so that edges on the same page do not cross. In the PARTITIONED 2-PAGE BOOK EMBEDDING problem egdes are partitioned into two sets E1 and E2, the pages are two, the edges of E1 are assigned to page 1, and the edges of E2 are assigned to page 2. The problem consists of checking ...
متن کاملSimpler Testing for Two-page Book Embedding of Partitioned Graphs
A 2-page book embedding of a graph is to place the vertices linearly on a spine (a line segment) and the edges on the two pages (two half planes sharing the spine) so that each edge is embedded in one of the pages without edge crossings. Testing whether a given graph admits a 2-page book embedding is known to be NP-complete. In this paper, we study the problem of testing whether a given graph a...
متن کاملClustered Planarity: Embedded Clustered Graphs with Two-Component Clusters
We present a polynomial-time algorithm for c-planarity testing of clustered graphs with fixed plane embedding and such that every cluster induces a subgraph with at most two connected components.
متن کاملPlanarity Testing for C-Connected Clustered Graphs
We present a linear time algorithm for testing clustered planarity of c-connected clustered graphs and for computing a clustered planar embedding for such graphs. Our algorithm uses a decomposition of the input graph based on SPQR-trees and is the first linear time algorithm for clustered planarity testing. We define a normal form of clustered embeddings and show that a clustered graph is clust...
متن کاملDeepening the Relationship between SEFE and C-Planarity
In this paper we deepen the understanding of the connection between two long-standing Graph Drawing open problems, that is, Simultaneous Embedding with Fixed Edges (SEFE) and Clustered Planarity (C-PLANARITY). In his GD’12 paper Marcus Schaefer presented a reduction from C-PLANARITY to SEFE of two planar graphs (SEFE-2). We prove that a reduction exists also in the opposite direction, if we con...
متن کامل